package com.ruoyi.comprehensive.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 退役军人权益维护信息对象 soldier_rights_declare
 *
 * @author jeffery
 * @date 2021-09-01
 */
@Data
@ToString
public class SoldierRightsDeclare extends BaseEntity {

    /**
     * 申报ID
     */
    private Long declareId;

    /**
     * 权益类别
     */
    @Excel(name = "权益类别",readConverterExp = "1=安置维权,2=待遇维权,3=补贴维权")
    private Integer rightsType;

    /**
     * 申报主题
     */
    @Excel(name = "申报主题")
    private String declareTitle;

    /**
     * 申报内容
     */
    @Excel(name = "申报内容")
    private String declareContent;

    /**
     * 申报人姓名
     */
    @Excel(name = "申报人姓名")
    private String username;

    /**
     * 申报人id
     */
    @Excel(name = "申报人id")
    private Long soldierId;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String idCard;

    /**
     * 出生日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /**
     * 户籍所在地 省市区三级联动id
     */
    private String addressBirthId;

    /**
     * 户籍所在地
     */
    @Excel(name = "户籍所在地")
    private String addressBirth;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String phoneNo;

    /**
     * 入伍时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入伍时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeEnter;

    /**
     * 复原时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "复原时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeRecover;

    /**
     * 安置地点
     */
    @Excel(name = "安置地点")
    private String arrangePlace;

    /**
     * 附件路径
     */
    @Excel(name = "附件路径")
    private Long filePath;

    /**
     * 流程状态
     */
    @Excel(name = "流程状态",readConverterExp = "0=待处理,1=已申报,2=申报回复,3=完结")
    private Integer flowStatus;

    /**
     * 申报回复
     */
    @Excel(name = "申报回复")
    private String flowReply;


}
